﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAL;
using Public;
namespace BUL
{
    public class ProductTypeBUL
    {
        ProducTypeDAL cls = new ProducTypeDAL();
        public DataSet GetAllProductTypeCBX()
        {
            return cls.GetAllProductTypeCBX();
        }
        public DataTable searchProType(string searchValue)
        {
            return cls.searchProType(searchValue);
        }
        public int AddProductType(Public.Type type)
        {
            return cls.AddProductType(type);
        }
        public int UpdateProductType(Public.Type type)
        {
            return cls.UpdateProductType(type);
        }
    }
}
